<html>
<head><title>Recherche de Liens</title></head>
<body>
<?php
	/*
	ini_set("display_errors",0);
	error_reporting(0);
	//*/
    include('Main.class.php');
?>
<h1>Tappez un mot clef</h1>
<form name="recherche" method="post" action="acceuil.php">
<input type="text" name="nom"/> <br/>
<input type="submit" name="valider" value="OK"/>
</form>
<?php
	if (isset($_POST['valider'])) {
		$page = new Main( $_POST['nom'] );
		$page->begin();
		print_r($page->getLinkedWords());
   	}
?>
</body>
</html>
